package com.zzl.finance.order.dto;

import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author sunpp
 * @date 2021-11-26 19:40:12
 */
@Data
@ApidocModel
public class OrderUpdateDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotEmpty(message = "凭证编号 不能为空")
    @ApidocModelProperty(description = "凭证编号", example = "")
    private String ticketNo;

    @NotNull(message = "订单状态 b不能为空")
    @ApidocModelProperty(description = "订单状态", example = "")
    private Integer orderStatus;
}
